/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.iterator;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/16 22:03
 */
// 定义迭代器接口
// 功能与jdk中的 Iterator 功能一致
public interface IIterator {
    boolean hasNext();
    Project next();
}
